import request from '../index'

// 获取流程图数据
export function getChartflowData() {
    return request({
        url:"dataview/flowchart/info",
    })
}

// 保存流程图数据
export function saveChartflowData(data:any) {
    return request({
        url:"dataview/flowchart/save",
        data
    })
}

// 移除节点
export function removeNode(data:any) {
    return request({
        url:"dataview/flowchart/deleteNode",
        data
    })
}